/*
* $Id: ChangeGLWnd.h 152 2010-09-23 18:28:55Z volok-aleksej@yandex.ru $
*
* Copyright 2010 by Alexey Volokitin
* All rights reserved
*
*/
#ifndef _CHANGE_GL_WIN_H_
#define _CHANGE_GL_WIN_H_

#include "DialogWnd.h"
#include "Visual/Wnd.h"

class CChangeGLWnd : public CWnd, public CWndImpl, public CDialogWnd
{
	CBrush m_pBrush;
	std::tstring m_strNameQB;
	std::tstring m_strNameParentQB;
	std::tstring m_strNewFamily;
	std::tstring m_strNameParent;
	std::tstring m_strNameFamily;
	int m_nIdFamily;
	int m_nIdQueenBee;
public:
protected:
	QueenBee::change_type m_type;
protected:
	DECLARE_MESSAGE_MAP();
	afx_msg void OnPaint();
public:
	CChangeGLWnd(QueenBee::change_type tp);
	virtual ~CChangeGLWnd();
public:
	virtual void WindowCreate(CWnd* pParent);
	virtual	void WindowDestroy();
	virtual void SetQueenBeeId(int nId);
	virtual void SetSelectionData(unsigned long data);
	virtual void Save();
};

#endif/*_CHANGE_GL_WIN_H_*/